\hypertarget{classjost_1_1Value}{
\section{jost::Value Class Reference}
\label{classjost_1_1Value}\index{jost::Value@{jost::Value}}
}


{\ttfamily \#include $<$Value.hpp$>$}



Inheritance diagram for jost::Value:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=376pt]{classjost_1_1Value__inherit__graph}
\end{center}
\end{figure}
\subsection*{Public Types}
\begin{DoxyCompactItemize}
\item 
enum \hyperlink{classjost_1_1Value_ab33fac9392210fb6705b61445c34e234}{TypeID} \{ \par
{\bfseries ARRAY}, 
{\bfseries BOOLEAN}, 
{\bfseries INTEGER}, 
{\bfseries NIL}, 
\par
{\bfseries OBJECT}, 
{\bfseries REAL}, 
{\bfseries STRING}, 
{\bfseries VALUE}
 \}
\end{DoxyCompactItemize}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
virtual \hyperlink{classjost_1_1Value_aba6e413984d3bdb40663d16737ff3efb}{$\sim$Value} ()  throw ()
\item 
\hyperlink{classjost_1_1Value_ab33fac9392210fb6705b61445c34e234}{TypeID} \hyperlink{classjost_1_1Value_a09399e44fc07252a6e4ee6e001bdc73c}{getTypeID} () const   throw ()
\item 
virtual std::string \hyperlink{classjost_1_1Value_a49dfecfb0a1bc09c7bdf10c31cba0820}{serialize} ()=0  throw ()
\end{DoxyCompactItemize}
\subsection*{Protected Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classjost_1_1Value_a5992b081ed74b01861a0327114de1aa2}{
{\bfseries Value} (\hyperlink{classjost_1_1Value_ab33fac9392210fb6705b61445c34e234}{TypeID} typeID)  throw ()}
\label{classjost_1_1Value_a5992b081ed74b01861a0327114de1aa2}

\end{DoxyCompactItemize}
\subsection*{Protected Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classjost_1_1Value_a558c399b05c71397d5f1a3dde2d35089}{
\hyperlink{classjost_1_1Value_ab33fac9392210fb6705b61445c34e234}{TypeID} {\bfseries typeID\_\-}}
\label{classjost_1_1Value_a558c399b05c71397d5f1a3dde2d35089}

\end{DoxyCompactItemize}


\subsection{Detailed Description}
The class {\ttfamily \hyperlink{classjost_1_1Value}{Value}} provides the common abstraction for JSON types, and thus values.\par


JOST {\bfseries Memory Management}, assumes that {\ttfamily \hyperlink{classjost_1_1Value}{Value}}s contained in aggregated elements such as {\ttfamily \hyperlink{classjost_1_1Object}{Object}} or {\ttfamily \hyperlink{classjost_1_1Array}{Array}} are owned by their container object. This means that when the container object, the contained elements are relased as well.\par


\begin{DoxyAuthor}{Author}
Angelo Corsaro $<$mailto:\href{mailto:angelo.corsaro@gmail.com}{\tt angelo.corsaro@gmail.com}$>$ 
\end{DoxyAuthor}
\begin{DoxyVersion}{Version}
0.1 
\end{DoxyVersion}


Definition at line 44 of file Value.hpp.



\subsection{Member Enumeration Documentation}
\hypertarget{classjost_1_1Value_ab33fac9392210fb6705b61445c34e234}{
\index{jost::Value@{jost::Value}!TypeID@{TypeID}}
\index{TypeID@{TypeID}!jost::Value@{jost::Value}}
\subsubsection[{TypeID}]{\setlength{\rightskip}{0pt plus 5cm}enum {\bf jost::Value::TypeID}}}
\label{classjost_1_1Value_ab33fac9392210fb6705b61445c34e234}
JSON Supported Types. 

Definition at line 50 of file Value.hpp.



\subsection{Constructor \& Destructor Documentation}
\hypertarget{classjost_1_1Value_aba6e413984d3bdb40663d16737ff3efb}{
\index{jost::Value@{jost::Value}!$\sim$Value@{$\sim$Value}}
\index{$\sim$Value@{$\sim$Value}!jost::Value@{jost::Value}}
\subsubsection[{$\sim$Value}]{\setlength{\rightskip}{0pt plus 5cm}jost::Value::$\sim$Value ()  throw ()\hspace{0.3cm}{\ttfamily  \mbox{[}virtual\mbox{]}}}}
\label{classjost_1_1Value_aba6e413984d3bdb40663d16737ff3efb}
\hyperlink{classjost_1_1Value}{Value} Dtor. 

Definition at line 6 of file Value.cpp.



\subsection{Member Function Documentation}
\hypertarget{classjost_1_1Value_a09399e44fc07252a6e4ee6e001bdc73c}{
\index{jost::Value@{jost::Value}!getTypeID@{getTypeID}}
\index{getTypeID@{getTypeID}!jost::Value@{jost::Value}}
\subsubsection[{getTypeID}]{\setlength{\rightskip}{0pt plus 5cm}{\bf TypeID} jost::Value::getTypeID () const  throw ()\hspace{0.3cm}{\ttfamily  \mbox{[}inline\mbox{]}}}}
\label{classjost_1_1Value_a09399e44fc07252a6e4ee6e001bdc73c}
Returns the type ID for this {\ttfamily \hyperlink{classjost_1_1Value}{Value}} instance.

\begin{DoxyReturn}{Returns}
The {\ttfamily TypeID} associated with the runtime instance referenced. 
\end{DoxyReturn}
\hypertarget{classjost_1_1Value_a49dfecfb0a1bc09c7bdf10c31cba0820}{
\index{jost::Value@{jost::Value}!serialize@{serialize}}
\index{serialize@{serialize}!jost::Value@{jost::Value}}
\subsubsection[{serialize}]{\setlength{\rightskip}{0pt plus 5cm}virtual std::string jost::Value::serialize ()  throw ()\hspace{0.3cm}{\ttfamily  \mbox{[}pure virtual\mbox{]}}}}
\label{classjost_1_1Value_a49dfecfb0a1bc09c7bdf10c31cba0820}
Provides a stringified version of the \hyperlink{classjost_1_1Object}{Object} which is compliant with the JSON format.

\begin{DoxyReturn}{Returns}
a stringfied representation of the value. 
\end{DoxyReturn}


Implemented in \hyperlink{classjost_1_1Array_a6e574f8c3e428a39cad771d1c44a043a}{jost::Array}, \hyperlink{classjost_1_1IntegralType_aeb4c5e5276dd44ac7bc8a2f63ae3846e}{jost::IntegralType$<$ T, TYPE\_\-ID $>$}, and \hyperlink{classjost_1_1Object_a86a3a792b9ff67ea4df1a1de4131b42e}{jost::Object}.



The documentation for this class was generated from the following files:\begin{DoxyCompactItemize}
\item 
src/jost/Value.hpp\item 
src/jost/Value.cpp\end{DoxyCompactItemize}
